#include #include using namespace std; void powiedz( const char * tekst, int czas ) { cout << tekst << endl; int t = clock(); t += czas; while( clock() < t ){} } int main() { float a, b, c; cout << "Podaj liczbe A." << endl; cin >> a; cout << "Podaj liczbe B." << endl; cin >> b; cout << "Podaj liczbe C." << endl; cin >> c; if( a > b ) { if( a > c ) { powiedz( "Najwieksza jest liczba A.", 2000 ); }else { powiedz( "Najwieksza jest liczba C.", 2000 ); } }else { if( b > c ) { powiedz( "Najwieksza jest liczba B.", 2000 ); }else { powiedz( "Najwieksza jest liczba C.", 2000 ); } } return 0; }